package com.example.baiduai.ai.vo.Results;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class AiImagesClassifyResult {

    private String name;

    private BigDecimal score ;

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score.setScale(2, BigDecimal.ROUND_HALF_UP);
    }
}
